import Vue from 'vue'
import App from './App'

import cuCustom from './colorui/components/cu-custom.vue'//colorUI头部导航栏
Vue.component('cu-custom',cuCustom)
import sundehengCustom from './colorui/components/sundeheng-custom/sundeheng-custom.vue'//提取的ColorUI中的头部导航栏插件
Vue.component('sundeheng-custom',sundehengCustom)

Vue.config.productionTip = false
App.mpType = 'app'


import store from './store'//引入vuex
Vue.prototype.$store = store//把vuex定义成全局组件


import apis from '@/utils/index';// 引入全局函数
for(let i in apis) {
	Vue.prototype['$_'+i] = apis[i];
}

const app = new Vue({
    ...App
})
app.$mount()

 



